lambda-{-args-..-}-(lam).sublime-snippet (342B)
1 <snippet> 2 <content><![CDATA[lambda { ${1/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/}${1:args}${1/(^(?<var>\s*(?:\*|\*?[a-z_])[a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:| )/}$0 }]]></content> 3 <tabTrigger>lam</tabTrigger> 4 <scope>source.ruby</scope> 5 <description>lambda { |args| .. }</description> 6 </snippet>